----------------------------------Spell Variables--------------------------------------
SPELL.m_iSpellID = 50 -- Whatever value you want as long as it doesn't override any other spells' IDs.
SPELL.m_iRange = 240
SPELL.m_sName = "Leap"
SPELL.m_sToolTip = [[Leap forwards, dealing 
					150% weapon damage where 
					you land.]]
SPELL.m_sIcon = "devin/blackbetty/spells/warrior/charge.png"
SPELL.m_iCoolDown = 4.5
SPELL.m_iManaCost = 10
SPELL.m_bRequiresTarget = false
SPELL.m_iSpellType = SPELLTYPE_HYBRID
SPELL.m_bRecastWhileCasting = false

---------------------------------------------------------------------------------------

local range = 100
local weapondamage = 20

function SPELL:Cast( pl, target )
	print("Casted "..self.m_sName.."!")
	pl:DoAnimationEvent(ACT_OVERLAY_SHIELD_UP)
	timer.Create( "leaptimer", 0.61, 1, function() pl.Impact = true pl:SetNWBool("Casting", false)
			pl:SetNWBool("Casted", false) end)
	pl:EmitSound("devin/blackbetty/player/male/jump"..math.random(1,4)..".wav", 100, 100)
	pl:SetVelocity(Vector(0,0,0.1)*4000)
	
end



